package WangYiTwo.One;

import java.util.Scanner;

//打印大写字母O
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();

        if(n == 1){
            System.out.println(".**.\n" +
                    "*..*\n" +
                    "*..*\n" +
                    ".**.");
        }
        if(n == 2){
            System.out.println("..****..\n" +
                    ".******.\n" +
                    "**....**\n" +
                    "**....**\n" +
                    "**....**\n" +
                    "**....**\n" +
                    ".******.\n" +
                    "..****..");
        }
        if(n == 3){
            System.out.println("...******...\n" +
                    "..********..\n" +
                    ".**********.\n" +
                    "***......***\n" +
                    "***......***\n" +
                    "***......***\n" +
                    "***......***\n" +
                    "***......***\n" +
                    "***......***\n" +
                    ".**********.\n" +
                    "..********..\n" +
                    "...******...");
        }
        if(n == 4){
            System.out.println("....********....\n" +
                    "...**********...\n" +
                    "..************..\n" +
                    "****........****\n" +
                    "****........****\n" +
                    "****........****\n" +
                    "****........****\n" +
                    "****........****\n" +
                    "****........****\n" +
                    "..************..\n" +
                    "...**********...\n" +
                    "....********....");
        }
    }
}
